package com.zzty.training.service.impl;

import com.zzty.training.dao.ClazzDao;
import com.zzty.training.dao.UserDao;
import com.zzty.training.entity.Clazz;
import com.zzty.training.entity.User;
import com.zzty.training.service.ClazzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClazzServiceImpl implements ClazzService {
    @Autowired
    ClazzDao clazzDao;

    @Override
    public List<Clazz> getAllClazz() {
        List<Clazz> clazzList=clazzDao.getAllClazz();
        return clazzList;
    }
}
